package com.syncy.process;

public class ProcessRunningOptions {

	
	ProcessType type = null;
	
	ProcessConcurrencyType concurrency = null;
	
	Long sleepInterval = 1000L;
	
	String cronInterval = null;
	
	

	public ProcessRunningOptions(ProcessType type,
			ProcessConcurrencyType concurrency, Long sleepInterval,
			String cronInterval) {
		this.type = type;
		this.concurrency = concurrency;
		this.sleepInterval = sleepInterval;
		this.cronInterval = cronInterval;
	}

	public ProcessType getType() {
		return type;
	}

	public void setType(ProcessType type) {
		this.type = type;
	}

	public ProcessConcurrencyType getConcurrency() {
		return concurrency;
	}

	public void setConcurrency(ProcessConcurrencyType concurrency) {
		this.concurrency = concurrency;
	}

	public Long getSleepInterval() {
		return sleepInterval;
	}

	public void setSleepInterval(Long sleepInterval) {
		this.sleepInterval = sleepInterval;
	}

	public String getCronInterval() {
		return cronInterval;
	}

	public void setCronInterval(String cronInterval) {
		this.cronInterval = cronInterval;
	}
	
	
}
